package com.yimils.core.sys.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.yimils.core.sys.entity.RoleResourceEntity;


import java.util.List;

public interface RoleResourceService extends IService<RoleResourceEntity> {

    List<RoleResourceEntity> getRoleResources(Long roleId);

    boolean updateRoleResourceForBatch(Long roleId, List<RoleResourceEntity> entityList);

    List<RoleResourceEntity> getRoleResourcesTree(Long roleId);
}
